//
//  PersonalViewController.h
//  ShareNavigation
//
//  Created by 水木 傅 on 12-5-15.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ASIHTTPRequest.h"

@interface PersonalViewController : UIViewController<UIImagePickerControllerDelegate,UINavigationControllerDelegate,UIAlertViewDelegate>

@property (weak, nonatomic) IBOutlet UIImageView *HeadPhoto;
@property (weak, nonatomic) IBOutlet UILabel *userID;
@property (nonatomic,retain) NSString *imageName;
@property (weak, nonatomic) IBOutlet UIBarButtonItem *PressButton;


- (IBAction)uploadImage:(id)sender;
- (IBAction)modify:(id)sender;


-(UIImage *) RequesHeadPhoto:(NSString *) image;
-(void) requestRegisterFailed :(ASIHTTPRequest *)request;
-(void) requestRegisterFinished :(ASIHTTPRequest *)request;
-(void) getData:(NSString *) UserId;
- (NSString*) stringWithUUID;
-(void) upload:(NSString *)imageName;

@end
